/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SuppliersBeans;

import javax.ejb.Local;
import smartgrid.Contract;
import smartgrid.DataLine;
import smartgrid.exceptions.InvalidContractNifException;
import smartgrid.exceptions.InvalidContractNumberException;

/**
 *
 * @author claudio
 */
@Local
public interface EDPbeanLocal {

    Contract getContract(String number, String nif)  throws InvalidContractNumberException, InvalidContractNifException;

    DataLine[] getHistory(Contract contract);
    
}
